package com.haoyu.number.Runnable;

/**
 * @author: 蒿雨
 * @create: 2021-12-07 16:51
 * @description:执行类
 */
public class Test {
    public static void main(String[] args) {
        //实现Runnable接口需要创建对象并放入
        Thread thread01 = new Thread(new User01());
        thread01.start();

        Thread thread02 = new Thread(new User02());
        thread02.start();

        Thread thread03 = new Thread(new User03());
        thread03.start();

        Thread thread04 = new Thread(new User04());
        thread04.start();

    }
}
